﻿@model SaleSoft.Models.ds_nhomquantri

@{
    ViewBag.Title = "Chỉnh sửa thông tin nhóm " + Model.tennhomquantri;
    Layout = "~/Areas/administrator/Views/Shared/_Layout.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<div class="bPageTitle">
    <div class="ptBody">
        <div class="content">
            <img src="/s.gif" alt="Account" class="pageTitleIcon" title="Account"><h1 class="pageType">
                Nhóm quản trị<span class="titleSeparatingColon">:</span></h1>
            <h2 class="pageDescription">
                Tạo mới</h2>
            <div class="blank">
                &nbsp;</div>
        </div>
    </div>
    <div class="ptBreadcrumb">
    </div>
</div>
<div class="hotListElement">
    <div class="bPageBlock secondaryPalette">
        <div class="pbHeader">
            <table border="0" cellpadding="0" cellspacing="0">
                <tbody>
                    <tr>
                        <td class="pbTitle">
                            <img src="/s.gif" alt="" width="1" height="1" class="minWidth" title="">
                        </td>
                        <td class="pbButton">
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="pbBody">
            <div class="pbSubsection">
                @using (Html.BeginForm("edit", "NhomQuanTri", FormMethod.Post)) {
                    @Html.ValidationSummary(true)
                    @Html.HiddenFor(p => p.id_nhomquantri)
                    <table class="detailList" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td colspan="4">
                                <div id="head_1_ep" class="pbSubheader first tertiaryPalette">
                                    <span class="pbSubExtra"><span class="requiredLegend"><span class="requiredExampleOuter">
                                        <span class="requiredExample">&nbsp;</span></span><span class="requiredMark">*</span><span
                                            class="requiredText"> = Thông tin bắt buộc</span></span></span><h3>
                                                Thông tin nhóm<span class="titleSeparatingColon">:</span></h3>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="labelCol" width="150px">
                                Tên nhóm
                            </td>
                            <td>
                                @Html.TextBoxFor(model => model.tennhomquantri, new {
                                           style = "width:400px"
                                       })
                               @* <div class="requiredInput">
                                    <div class="requiredBlock">
                                    </div>
                                    @Html.TextBoxFor(model => model.tennhomquantri, new {
                                           style = "width:400px"
                                       })
                                </div>*@
                            </td>
                            <td class="labelCol" colspan="2">
                                <div style="color:Red; text-align:left; ">@Html.ValidationMessageFor(model => model.tennhomquantri)</div>
                            </td>
                        </tr>
                         <tr>
                            <td class="labelCol">
                              Tóm tắt
                            </td>
                            <td colspan="3">
                                @Html.TextAreaFor(model => model.ghichu, new
                           {
                               style = "width:100%, height:500px"
                           })
                                <script type="text/javascript">
                                    CKEDITOR.replace('ghichu',
                                {
                                    height: '200px'
                                });
                                </script>
                                 <div style="color:Red; text-align:left; ">@Html.ValidationMessageFor(model => model.ghichu)</div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td colspan="2" style="text-align: left;">
                                &nbsp;<br />
                                <input class="btn" style="width: 100px" name="btnSave" value="Lưu" type="submit" />
                                @Html.ActionLink("Cancel", "index", null, new {
                                       @class = "btn",
                                       style = "width:100px"
                                   })<br />
                                &nbsp;
                            </td>
                            <td width="200px">
                            </td>
                        </tr>
                    </table>
                }
            </div>
            <div class="pbFooter secondaryPalette">
                <div class="bg">
                </div>
            </div>
        </div>
    </div>
</div>
